package shopping.service;


import shopping.bean.List;
import shopping.bean.Order;
import shopping.bean.OrderAndOrderItem;
import shopping.bean.OrderItem;

import java.util.ArrayList;


public interface OrderService {
    //创建订单      入库、出库
    public String createOrder(List cart, Integer userId,Integer status);
    //查询所有订单    入库、出库
    //查询所有订单    入库、出库
    ArrayList<Order> selectOrderAll();

    ArrayList<OrderItem> selectOrderItemByOrder_id(String orderId);
//    ArrayList<OrderAndOrderItem> selectOrderAllByAdminId(Integer adminId);
}
